package mdm.led.entity;


import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import mdm.led.common.AbstractBean;
import mdm.led.util.DateUtil;

public class SysLog extends AbstractBean {
    private Integer cLogId;

    private Integer cUserId;

    private String cIp;

    private String cOperatorModule;

    private String cOperatorFunction;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date cOperatorTime;

    private String remark;

    private String cNickname;

    private String cUsername;

    private String startDate;

    private String endDate;
    
    private String cOperatorTimes;
    
    

    public String getcOperatorTimes() {
        return cOperatorTimes;
    }

    public void setcOperatorTimes(String cOperatorTimes) {
        this.cOperatorTimes = cOperatorTimes;
    }

    public String getcNickname() {
        return cNickname;
    }

    public void setcNickname(String cNickname) {
        this.cNickname = cNickname;
    }

    public String getcUsername() {
        return cUsername;
    }

    public void setcUsername(String cUsername) {
        this.cUsername = cUsername;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getcLogId() {
        return cLogId;
    }

    public void setcLogId(Integer cLogId) {
        this.cLogId = cLogId;
    }

    public Integer getcUserId() {
        return cUserId;
    }

    public void setcUserId(Integer cUserId) {
        this.cUserId = cUserId;
    }

    public String getcIp() {
        return cIp;
    }

    public void setcIp(String cIp) {
        this.cIp = cIp == null ? null : cIp.trim();
    }

    public String getcOperatorModule() {
        return cOperatorModule;
    }

    public void setcOperatorModule(String cOperatorModule) {
        this.cOperatorModule = cOperatorModule == null ? null : cOperatorModule.trim();
    }

    public String getcOperatorFunction() {
        return cOperatorFunction;
    }

    public void setcOperatorFunction(String cOperatorFunction) {
        this.cOperatorFunction = cOperatorFunction == null ? null : cOperatorFunction.trim();
    }

    public Date getcOperatorTime() {
        return cOperatorTime;
    }

    public void setcOperatorTime(Date cOperatorTime) {
        this.cOperatorTime = cOperatorTime;
        try {
            this.cOperatorTimes = DateUtil.formatDateTime(cOperatorTime);
        } catch (Exception e) {
            // TODO 自动生成的 catch 块
            e.printStackTrace();
        }
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}